package mapper;

import po.Article;

import java.util.List;

public interface ArticleMapper {
    public Article searchId(int id) throws Exception;

    public Article searchTitle(String title) throws Exception;

    public List<Article> searchAllArticles() throws Exception;

    public void insertArticle(Article article) throws Exception;

    public Article deleteArticle(int id) throws Exception;
}
